import { createApp } from "vue";
import App from "./App.vue";
import store from "./store";
import router from "./router";
// 使用windicss
import "windi.css";
import Antd from "ant-design-vue";
import "ant-design-vue/dist/antd.css";
import "./style/iconfont/iconfont.css";
// 全局清除默认样式
import "./style/normalize.css";
// 图片懒加载
// import VueLazyload from "vue-lazyload";
import VueLazyload from "vue3-lazy";

createApp(App)
  .use(router)
  .use(store)
  .use(Antd)
  .use(VueLazyload, {
    error: require("@/assets/images/ia_300000281.png"),
    loading: require("@/assets/images/ia_300000281.png"),
  })
  .mount("#app");
